package com.hongxun.greenentity.tk;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;


/**
 * 点位材料购置表
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-28 11:12:43
 */
@Entity
public class DMaterialBuyEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	@Id
	private String guid;
	//所属项目ID
	private String pGuid;
	//所属点位ID
	private String pPGuid;
	//关联材料信息库ID
	private String mMGuid;
	//材料大类
	private String mBBigtype;
	//材料中类
	private String mBMidtype;
	//材料名称
	private String mBName;
	//设备标签
	private String dLabel;
	//主要参数
	private String mBParameter;
	//单重（kg）
	private Double mBWeight;
	//单价（元）
	private Double mBPrice;
	//购置单位
	private String mBUnit;
	//数量
	private Double mBCount;
	//合重（kg）
	private Double mBWeightall;
	//合价（元）
	private Double mBPriceall;
	//数据来源    系统和人工
	private String mBSource;
	//数据状态
	private String mBDatastate;


	@Generated(hash = 101830626)
	public DMaterialBuyEntity(String guid, String pGuid, String pPGuid,
			String mMGuid, String mBBigtype, String mBMidtype, String mBName,
			String dLabel, String mBParameter, Double mBWeight, Double mBPrice,
			String mBUnit, Double mBCount, Double mBWeightall, Double mBPriceall,
			String mBSource, String mBDatastate) {
		this.guid = guid;
		this.pGuid = pGuid;
		this.pPGuid = pPGuid;
		this.mMGuid = mMGuid;
		this.mBBigtype = mBBigtype;
		this.mBMidtype = mBMidtype;
		this.mBName = mBName;
		this.dLabel = dLabel;
		this.mBParameter = mBParameter;
		this.mBWeight = mBWeight;
		this.mBPrice = mBPrice;
		this.mBUnit = mBUnit;
		this.mBCount = mBCount;
		this.mBWeightall = mBWeightall;
		this.mBPriceall = mBPriceall;
		this.mBSource = mBSource;
		this.mBDatastate = mBDatastate;
	}
	@Generated(hash = 2022012063)
	public DMaterialBuyEntity() {
	}


	/**
	 * 设置：主键
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：主键
	 */
	public String getGuid() {
		return guid;
	}
	/**
	 * 设置：所属项目ID
	 */
	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}
	/**
	 * 获取：所属项目ID
	 */
	public String getPGuid() {
		return pGuid;
	}
	/**
	 * 设置：所属点位ID
	 */
	public void setPPGuid(String pPGuid) {
		this.pPGuid = pPGuid;
	}
	/**
	 * 获取：所属点位ID
	 */
	public String getPPGuid() {
		return pPGuid;
	}
	/**
	 * 设置：关联材料信息库ID
	 */
	public void setMMGuid(String mMGuid) {
		this.mMGuid = mMGuid;
	}
	/**
	 * 获取：关联材料信息库ID
	 */
	public String getMMGuid() {
		return mMGuid;
	}
	/**
	 * 设置：材料大类
	 */
	public void setMBBigtype(String mBBigtype) {
		this.mBBigtype = mBBigtype;
	}
	/**
	 * 获取：材料大类
	 */
	public String getMBBigtype() {
		return mBBigtype;
	}
	/**
	 * 设置：材料中类
	 */
	public void setMBMidtype(String mBMidtype) {
		this.mBMidtype = mBMidtype;
	}
	/**
	 * 获取：材料中类
	 */
	public String getMBMidtype() {
		return mBMidtype;
	}
	/**
	 * 设置：材料名称
	 */
	public void setMBName(String mBName) {
		this.mBName = mBName;
	}
	/**
	 * 获取：材料名称
	 */
	public String getMBName() {
		return mBName;
	}
	/**
	 * 设置：主要参数
	 */
	public void setMBParameter(String mBParameter) {
		this.mBParameter = mBParameter;
	}
	/**
	 * 获取：主要参数
	 */
	public String getMBParameter() {
		return mBParameter;
	}
	/**
	 * 设置：单重（kg）
	 */
	public void setMBWeight(Double mBWeight) {
		this.mBWeight = mBWeight;
	}
	/**
	 * 获取：单重（kg）
	 */
	public Double getMBWeight() {
		return mBWeight;
	}
	/**
	 * 设置：单价（元）
	 */
	public void setMBPrice(Double mBPrice) {
		this.mBPrice = mBPrice;
	}
	/**
	 * 获取：单价（元）
	 */
	public Double getMBPrice() {
		return mBPrice;
	}
	/**
	 * 设置：购置单位
	 */
	public void setMBUnit(String mBUnit) {
		this.mBUnit = mBUnit;
	}
	/**
	 * 获取：购置单位
	 */
	public String getMBUnit() {
		return mBUnit;
	}
	/**
	 * 设置：数量
	 */
	public void setMBCount(Double mBCount) {
		this.mBCount = mBCount;
	}
	/**
	 * 获取：数量
	 */
	public Double getMBCount() {
		return mBCount;
	}
	/**
	 * 设置：合重（kg）
	 */
	public void setMBWeightall(Double mBWeightall) {
		this.mBWeightall = mBWeightall;
	}
	/**
	 * 获取：合重（kg）
	 */
	public Double getMBWeightall() {
		return mBWeightall;
	}
	/**
	 * 设置：合价（元）
	 */
	public void setMBPriceall(Double mBPriceall) {
		this.mBPriceall = mBPriceall;
	}
	/**
	 * 获取：合价（元）
	 */
	public Double getMBPriceall() {
		return mBPriceall;
	}
	/**
	 * 设置：数据来源    系统和人工
	 */
	public void setMBSource(String mBSource) {
		this.mBSource = mBSource;
	}
	/**
	 * 获取：数据来源    系统和人工
	 */
	public String getMBSource() {
		return mBSource;
	}
	/**
	 * 设置：数据状态
	 */
	public void setMBDatastate(String mBDatastate) {
		this.mBDatastate = mBDatastate;
	}
	/**
	 * 获取：数据状态
	 */
	public String getMBDatastate() {
		return mBDatastate;
	}
	public String getDLabel() {
		return this.dLabel;
	}
	public void setDLabel(String dLabel) {
		this.dLabel = dLabel;
	}
}
